Integrand size = 21, antiderivative size = 159 \[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=-\frac {4 \text {arctanh}(\sin (c+d x))}{a^4 d}+\frac {244 \tan (c+d x)}{105 a^4 d}-\frac {88 \sec ^2(c+d x) \tan (c+d x)}{105 a^4 d (1+\sec (c+d x))^2}+\frac {4 \tan (c+d x)}{a^4 d (1+\sec (c+d x))}-\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {12 \sec ^3(c+d x) \tan (c+d x)}{35 a d (a+a \sec (c+d x))^3} \]
[Out]
Time = 0.44 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3901, 4104, 4093, 3872, 3855, 3852, 8} \[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=-\frac {4 \text {arctanh}(\sin (c+d x))}{a^4 d}+\frac {244 \tan (c+d x)}{105 a^4 d}-\frac {88 \tan (c+d x) \sec ^2(c+d x)}{105 a^4 d (\sec (c+d x)+1)^2}+\frac {4 \tan (c+d x)}{a^4 d (\sec (c+d x)+1)}-\frac {\tan (c+d x) \sec ^4(c+d x)}{7 d (a \sec (c+d x)+a)^4}-\frac {12 \tan (c+d x) \sec ^3(c+d x)}{35 a d (a \sec (c+d x)+a)^3} \]
[In]
[Out]
Rule 8
Rule 3852
Rule 3855
Rule 3872
Rule 3901
Rule 4093
Rule 4104
Rubi steps \begin{align*} \text {integral}& = -\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {\int \frac {\sec ^4(c+d x) (4 a-8 a \sec (c+d x))}{(a+a \sec (c+d x))^3} \, dx}{7 a^2} \\ & = -\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {12 \sec ^3(c+d x) \tan (c+d x)}{35 a d (a+a \sec (c+d x))^3}-\frac {\int \frac {\sec ^3(c+d x) \left (36 a^2-52 a^2 \sec (c+d x)\right )}{(a+a \sec (c+d x))^2} \, dx}{35 a^4} \\ & = -\frac {88 \sec ^2(c+d x) \tan (c+d x)}{105 a^4 d (1+\sec (c+d x))^2}-\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {12 \sec ^3(c+d x) \tan (c+d x)}{35 a d (a+a \sec (c+d x))^3}-\frac {\int \frac {\sec ^2(c+d x) \left (176 a^3-244 a^3 \sec (c+d x)\right )}{a+a \sec (c+d x)} \, dx}{105 a^6} \\ & = -\frac {88 \sec ^2(c+d x) \tan (c+d x)}{105 a^4 d (1+\sec (c+d x))^2}-\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {12 \sec ^3(c+d x) \tan (c+d x)}{35 a d (a+a \sec (c+d x))^3}+\frac {4 \tan (c+d x)}{d \left (a^4+a^4 \sec (c+d x)\right )}+\frac {\int \sec (c+d x) \left (-420 a^4+244 a^4 \sec (c+d x)\right ) \, dx}{105 a^8} \\ & = -\frac {88 \sec ^2(c+d x) \tan (c+d x)}{105 a^4 d (1+\sec (c+d x))^2}-\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {12 \sec ^3(c+d x) \tan (c+d x)}{35 a d (a+a \sec (c+d x))^3}+\frac {4 \tan (c+d x)}{d \left (a^4+a^4 \sec (c+d x)\right )}+\frac {244 \int \sec ^2(c+d x) \, dx}{105 a^4}-\frac {4 \int \sec (c+d x) \, dx}{a^4} \\ & = -\frac {4 \text {arctanh}(\sin (c+d x))}{a^4 d}-\frac {88 \sec ^2(c+d x) \tan (c+d x)}{105 a^4 d (1+\sec (c+d x))^2}-\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {12 \sec ^3(c+d x) \tan (c+d x)}{35 a d (a+a \sec (c+d x))^3}+\frac {4 \tan (c+d x)}{d \left (a^4+a^4 \sec (c+d x)\right )}-\frac {244 \text {Subst}(\int 1 \, dx,x,-\tan (c+d x))}{105 a^4 d} \\ & = -\frac {4 \text {arctanh}(\sin (c+d x))}{a^4 d}+\frac {244 \tan (c+d x)}{105 a^4 d}-\frac {88 \sec ^2(c+d x) \tan (c+d x)}{105 a^4 d (1+\sec (c+d x))^2}-\frac {\sec ^4(c+d x) \tan (c+d x)}{7 d (a+a \sec (c+d x))^4}-\frac {12 \sec ^3(c+d x) \tan (c+d x)}{35 a d (a+a \sec (c+d x))^3}+\frac {4 \tan (c+d x)}{d \left (a^4+a^4 \sec (c+d x)\right )} \\ \end{align*}
Time = 1.19 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.81 \[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=\frac {\cos \left (\frac {1}{2} (c+d x)\right ) \sec ^4(c+d x) \left (-6720 \text {arctanh}(\sin (c+d x)) \cos ^7\left (\frac {1}{2} (c+d x)\right )+\sec (c+d x) \left (483 \sin \left (\frac {1}{2} (c+d x)\right )+1211 \sin \left (\frac {3}{2} (c+d x)\right )+1091 \sin \left (\frac {5}{2} (c+d x)\right )+476 \sin \left (\frac {7}{2} (c+d x)\right )+83 \sin \left (\frac {9}{2} (c+d x)\right )\right )\right )}{105 a^4 d (1+\sec (c+d x))^4} \]
[In]
[Out]
Time = 0.42 (sec) , antiderivative size = 118, normalized size of antiderivative = 0.74
method | result | size |
derivativedivides | \(\frac {\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{7}}{7}+\frac {7 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}{5}+\frac {23 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{3}+49 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )-\frac {8}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1}-32 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )-\frac {8}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1}+32 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{8 d \,a^{4}}\) | \(118\) |
default | \(\frac {\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{7}}{7}+\frac {7 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}{5}+\frac {23 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{3}+49 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )-\frac {8}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1}-32 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )-\frac {8}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1}+32 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{8 d \,a^{4}}\) | \(118\) |
parallelrisch | \(\frac {3360 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right ) \cos \left (d x +c \right )-3360 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right ) \cos \left (d x +c \right )+2861 \left (\cos \left (d x +c \right )+\frac {1650 \cos \left (2 d x +2 c \right )}{2861}+\frac {559 \cos \left (3 d x +3 c \right )}{2861}+\frac {83 \cos \left (4 d x +4 c \right )}{2861}+\frac {1672}{2861}\right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right ) \sec \left (\frac {d x}{2}+\frac {c}{2}\right )^{6}}{840 a^{4} d \cos \left (d x +c \right )}\) | \(121\) |
risch | \(\frac {8 i \left (105 \,{\mathrm e}^{8 i \left (d x +c \right )}+735 \,{\mathrm e}^{7 i \left (d x +c \right )}+2275 \,{\mathrm e}^{6 i \left (d x +c \right )}+4165 \,{\mathrm e}^{5 i \left (d x +c \right )}+5131 \,{\mathrm e}^{4 i \left (d x +c \right )}+4697 \,{\mathrm e}^{3 i \left (d x +c \right )}+2917 \,{\mathrm e}^{2 i \left (d x +c \right )}+1057 \,{\mathrm e}^{i \left (d x +c \right )}+166\right )}{105 d \,a^{4} \left ({\mathrm e}^{i \left (d x +c \right )}+1\right )^{7} \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )}+\frac {4 \ln \left ({\mathrm e}^{i \left (d x +c \right )}-i\right )}{a^{4} d}-\frac {4 \ln \left ({\mathrm e}^{i \left (d x +c \right )}+i\right )}{a^{4} d}\) | \(169\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 234, normalized size of antiderivative = 1.47 \[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=-\frac {210 \, {\left (\cos \left (d x + c\right )^{5} + 4 \, \cos \left (d x + c\right )^{4} + 6 \, \cos \left (d x + c\right )^{3} + 4 \, \cos \left (d x + c\right )^{2} + \cos \left (d x + c\right )\right )} \log \left (\sin \left (d x + c\right ) + 1\right ) - 210 \, {\left (\cos \left (d x + c\right )^{5} + 4 \, \cos \left (d x + c\right )^{4} + 6 \, \cos \left (d x + c\right )^{3} + 4 \, \cos \left (d x + c\right )^{2} + \cos \left (d x + c\right )\right )} \log \left (-\sin \left (d x + c\right ) + 1\right ) - {\left (664 \, \cos \left (d x + c\right )^{4} + 2236 \, \cos \left (d x + c\right )^{3} + 2636 \, \cos \left (d x + c\right )^{2} + 1184 \, \cos \left (d x + c\right ) + 105\right )} \sin \left (d x + c\right )}{105 \, {\left (a^{4} d \cos \left (d x + c\right )^{5} + 4 \, a^{4} d \cos \left (d x + c\right )^{4} + 6 \, a^{4} d \cos \left (d x + c\right )^{3} + 4 \, a^{4} d \cos \left (d x + c\right )^{2} + a^{4} d \cos \left (d x + c\right )\right )}} \]
[In]
[Out]
\[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=\frac {\int \frac {\sec ^{6}{\left (c + d x \right )}}{\sec ^{4}{\left (c + d x \right )} + 4 \sec ^{3}{\left (c + d x \right )} + 6 \sec ^{2}{\left (c + d x \right )} + 4 \sec {\left (c + d x \right )} + 1}\, dx}{a^{4}} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 186, normalized size of antiderivative = 1.17 \[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=\frac {\frac {1680 \, \sin \left (d x + c\right )}{{\left (a^{4} - \frac {a^{4} \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}}\right )} {\left (\cos \left (d x + c\right ) + 1\right )}} + \frac {\frac {5145 \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {805 \, \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {147 \, \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} + \frac {15 \, \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}}}{a^{4}} - \frac {3360 \, \log \left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}{a^{4}} + \frac {3360 \, \log \left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - 1\right )}{a^{4}}}{840 \, d} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 139, normalized size of antiderivative = 0.87 \[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=-\frac {\frac {3360 \, \log \left ({\left | \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1 \right |}\right )}{a^{4}} - \frac {3360 \, \log \left ({\left | \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - 1 \right |}\right )}{a^{4}} + \frac {1680 \, \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{{\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )} a^{4}} - \frac {15 \, a^{24} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} + 147 \, a^{24} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 805 \, a^{24} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 5145 \, a^{24} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{a^{28}}}{840 \, d} \]
[In]
[Out]
Time = 13.25 (sec) , antiderivative size = 130, normalized size of antiderivative = 0.82 \[ \int \frac {\sec ^6(c+d x)}{(a+a \sec (c+d x))^4} \, dx=\frac {23\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^3}{24\,a^4\,d}+\frac {7\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^5}{40\,a^4\,d}+\frac {{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^7}{56\,a^4\,d}-\frac {8\,\mathrm {atanh}\left (\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )\right )}{a^4\,d}-\frac {2\,\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}{d\,\left (a^4\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-a^4\right )}+\frac {49\,\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}{8\,a^4\,d} \]
[In]
[Out]